Instructions:-

In the examples below, Current Price of EURUSD is assumed to be 1.23865/1.23883

1) PointsAway, number of points above and below the current price where the orders will be placed.
e.g. 50 Points (1.23815/1.23933)

2) TP - Target Profit, you enter the amount of Points, when your order gets into profit this amount of Points, it will be closed automatically.
e.g. 1000 Points (1.22865/1.24883)

3) SL - Stop Loss amount in Points.
e.g. 50 Points (1.23815/1.23933)

4) NYear - News Year.

5) NMonth - News Month.

6) NDay - News Day.

7) NHour - News Hour.

8) NMin - News Minute.
These five parameters (news year, month, day, hour and min) are your broker's date and time. 

9) CTCBN - Numbers Candles To Check Before News For determining High & Lows , when it is 1 it checks 2 candles the current candle and the 1 last one; This parameter was last used in version 1.1.7 to automatically determine the amount of Points for a SL (stop loss). Now Pointsaway is added to it, if CTCBN > 0. Otherwise, PointsAway is used from current price.
e.g. set to 0 

10) SecBPO - Seconds Before News Which EA Will Place Pending Orders; well this is not going to happen at the exact second you specified, because EA code is executed only when a tick signal comes from your broker, but around the news price movements are frequent so you will probably not notice the difference.
e.g. set to 30

11) SecBMO - Seconds Before News Which EA Will Stop Modifying Orders; Now, once your order are placed, the EA will follow the price movement and modify orders accordingly so that they are always exactly "PointsAway" Points away from the current price. With some volatile news this can be quite often, so if that creates a problem with your broker you can set this to half of the value you put for SecBPO, if you put this to be equal as SecBPO than EA will not modify the orders at all.
e.g. set to 2

12) STWAN - Seconds To Wait After News to Delete Pending Orders; this is the timer to cancel all the order that did not get triggered.
e.g. set to 5

13) OCO - Order Cancel Other, true or false, will cancel the other pending order (after News Time) if one of them is hit; if this is set to true, when your buy orders get hit the corresponding sell orders will be cancelled, and vise versa, but without waiting for STWAN time.

14) BEPoints - Points In profit which EA will Move SL to Break Even + BEOffset; a nice way to lock in some profit. If you leave it at 0 nothing will happen.
e.g. set to 50

15) BEOffset - Break Even Offset, number of points to move beyond Break Even (allows to cover Broker Commissions etc.) (set to 0 to disable).
e.g. set to 10

16) TrailingStop - Trailing Stop; enter the amount of Points you want your trailing stop to be and EA will track all profitable orders. Setting to 0 disables trailing stops.
e.g. set to 50

17) MM - Money Management; true or false; if you set it to true, EA will automatically determine the number of lots for your orders, according to the risk you are willing to take

18) RiskPercent - The risk you are willing to take on any single order
e.g. set to 1

19) Lots - Number of Lots for your orders; if you set MM to false, than you have to tell the EA how many lots to use for the orders; so if you put here 1, every order will be placed with 1 lot
e.g. set to 0.10000000

20) TradeLog - EA will use this to create a name for the log file. If you set this to 'AmazingEA', and use it on an EURUSD chart, the logfiles will be called 'AmazingEA-EURUSD.txt'. You will find this file in the experts\files folder of your MT4 platform, with detailed explanations what took place while EA was running.

A new logging function has been added to capture EA settings in the Comment field of the trade. This is very useful because you can instantly see what settings were used on a trade in 'MyFXBook' for example without hunting through logfiles.

Because the Comment field is quite small (max length 32 characters), I have had to abbreviate everything and skip settings that can be worked out from the trade itself. The Pipe character denotes different section, helping to logically group parameters. This is an example:-
P50S50T1000|P15M2W5|B50T0 - This means Pointsaway=50, SL=50, TP=1000, SecBPO=15, SecBMO=2, STWAN=5, BEPoints=50, Trailing Stop=0

So, when you attach AmazingEA to your chart and set it the way you want, it will monitor what is happening, place buy and sell orders, modify them, trail stop them, move hard stops to break even ... and do the best it can to help you make some $$$$$. Test it on demo before you go live, to make yourself comfortable with it and to see how it will interact with your broker.

A new safety function has been added to delete any pending orders when the EA is removed from the chart. However, if you disable the EA, and you have pending orders already placed, the EA will no longer adjust the straddle, with the consequence that your pending orders may go live before news time. The safest way to disable the EA is to remove it from the chart. When setting up, one should always save the settings used in a .set file - this makes it easier to setup again on the same or another broker. Good Luck !
